var express = require('express');
var router = express.Router();

/*
 * @Author: 岸舟
 * @Date: 2020-09-18 17:55:04
 * @LastEditors: MiNine
 * @LastEditTime: 2020-09-29 14:25:18
 * @Description: 定义二级路径及方法名
 */

const {
  addSort,
  delSort,
  modSort,
  getSorts,
  initSorts
} = require('../controllers/insureSortCon');
const {
  permission19
} = require('../utils/permissionVerify')
router.post('/addSort', permission19, addSort);
router.post('/delSort', permission19, delSort);
router.post('/modSort', permission19, modSort);
router.get('/getSorts', getSorts);
//用于调整数据准确性的接口
// router.post('/initSorts',initSorts);



module.exports = router;